home *** CD-ROM | disk | FTP | other *** search
- /* -*- Mode: C -*-
- * weight.h --
- * ITIID : $ITI$ $Header $__Header$
- * Author : Huynh Quoc T. Tung
- * Created On : Fri May 20 09:18:01 1994
- * Last Modified By: Huynh Quoc T. Tung
- * Last Modified On: Mon May 30 15:39:16 1994
- * Update Count : 8
- * Status : Unknown, Use with caution!
- */
-
- #ifndef IRFILES_H
- #define IRFILES_H
- #include "irfiles.h"
- #endif
-
- typedef struct term_infotable {
- char* term;
- long char_pos;
- long tf;
- } term_infotable;
-
- #ifndef WEIGHT_H
- #define WEIGHT_H
- void assign_term_weight_for_doc _AP((long *number_of_elements, database *db));
- void write_weight_in_ptr _AP((float weight, unsigned char* ptr));
- float read_weight_from_stream _AP((long new_weight_size, FILE* stream));
- void save_terms_of_doc _AP((long *number_of_terms, database *db));
- void add_terms_saved _AP((boolean is_field, long* number_of_terms, long doc_id, database* db));
- #endif
-
-